Utility class to retrieve or compute interesting data about textures.
Definition: TextureUtils.h:12
static FORMAT getFormatDepthEquivalent(FORMAT format)
static bool isFormatCompatibleForRenderFlag(FORMAT format, TEX_RENDER_FLAG renderFlag, BIND_FLAG bindFlag)
static unsigned int getFormatByteSize(FORMAT format)
static FORMAT getFormatSrgbEquivalent(FORMAT format)
static unsigned int getFormatChannelCount(FORMAT format)
static bool isFormatOver255(FORMAT format)
static FORMAT getFormatUncompressedEquivalent(FORMAT format)
static bool isFormatCompressed(FORMAT format)
static FORMAT getFormatRgbEquivalent(FORMAT format)
static FORMAT getFormatTypelessEquivalent(FORMAT format)
static int getNeededMipsForSize(int width, int height, int depthOrArraySize)
static FORMAT getFormatWithAlphaEquivalent(FORMAT format)
static unsigned int getFormatPlaneCount(FORMAT format)